package cn.edu.my.test.event.selfdefination;

/**
 * �¼�������
 * @author user
 *
 */
public class DoorListener2 implements DoorListener {
	public void doorEvent(DoorEvent event) {
		if(event.getDoorState()!=null&&event.getDoorState().equals("open")){
			System.out.println("��2�򿪣�ͬʱ�����ȵĵ�");
		}
		else{
			System.out.println("��2�رգ�ͬʱ�ر����ȵĵ�");
		}
	}
}